package com.charlotte.study.gupao.vistor.kpi;

import lombok.Getter;

import java.util.Random;

/**
 * @author junjie.ding
 * @date 2020/3/25
 */
@Getter
public abstract class Employee {

    private String name;

    private int kpi;

    public Employee(String name) {
        this.name = name;
        this.kpi = new Random().nextInt(10);
    }

    public abstract void accept(IVisitor visitor);
}
